using System;
using System.Collections.Generic;
using System.Linq;
namespace TemplateWeb.Models.ViewModels
{
	#region using
	using System.Web.Mvc;
	using TemplateWeb.Models;
    using TemplateWeb.DTO;
	#endregion
	public class PhienDauGiaViewModel
	{
		public GetPhienDauGiaViewModel GetModel { get; set; }
		public EditPhienDauGiaViewModel EditModel { get; set; }
		public AddPhienDauGiaViewModel AddModel { get; set; }
		public PhienDauGiaReferKeys ReferKeys { get; set; }
		public string InfoText { get; set; }
	}
	public class GetPhienDauGiaViewModel
	{
		public List<PhienDauGiaDTO> LstObjModel { get; set; }
		public int TotalItem { get; set; }
		public int CurrentPage { get; set; }
	}

	public class EditPhienDauGiaViewModel
	{
		public int ID { get; set; }
	}

	public class AddPhienDauGiaViewModel
	{
		public int IDHinhThucDauGia { get; set; }
		public int IDDanhMucCon { get; set; }
		public Guid IDNguoiDang { get; set; }
		public string TenSanPham { get; set; }
		public string XuatXu { get; set; }
		public string MoTa { get; set; }
		public string HinhAnh { get; set; }
		public DateTime ThoiGianBatDau { get; set; }
		public DateTime ThoiGianKetThuc { get; set; }
		public long GiaKhoiDiem { get; set; }
		public long GiaToiThieu { get; set; }
		public long TienDatCoc { get; set; }
		public string KetQua { get; set; }
	}

	public class PhienDauGiaReferKeys
	{
		public int IDHinhThucDauGia;
		public int IDDanhMucCon;
		public Guid IDNguoiDang;
	}

}